import config from '@/config'
import RequestBase from '@/utils/request.js'

const baseRequest = new RequestBase(config.baseUrl)
export const getApkUpgrade = () => {
  return baseRequest.get('/portal/platform/apk/newest')
}
export const getAppMenu = (version) => {
  return baseRequest.get('/portal/auth/common/api/v1/menu/tree', { parentId: '1000000000000000001' })
}
